package com.example.jd.finance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.jd.finance.entity.MsWechatTotalStatiscs;
import com.example.jd.finance.entity.param.MsWechatTotalStatiscsExE;
import com.example.jd.finance.entity.vo.MsQueryDetailCountVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2021-11-11
 */
public interface MsWechatTotalStatiscsMapper extends BaseMapper<MsWechatTotalStatiscs> {

    MsWechatTotalStatiscs queryCurrentDayRecord(@Param("dto") MsWechatTotalStatiscs s);

    long queryCountApplyNum(@Param("dto") MsWechatTotalStatiscsExE s);

    MsWechatTotalStatiscs getTodayStatiscs();

    MsQueryDetailCountVO queryMsQueryDetailCountVO();

    long queryCountApplyPassedCount(@Param("dto") MsWechatTotalStatiscsExE s);
}
